package com.iflytek.universitymanagement.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("student_score")
@ApiModel(value="StudentScore对象", description="")
public class StudentScore {

    private static final long serialVersionUID=1L;

    @TableId(value = "score_id", type = IdType.AUTO)
    private int scoreId;
    private int courseId;
    private Integer studentId;
    private BigDecimal score;
    private String semester;
    private String progress;

    @TableField(exist = false)
    private String name;

    @TableField(exist = false)
    private String courseName;


}
